apt update
apt install rpm2cpio vim -y
chmod +x start-uam.sh run.sh update-uam.sh chkuam.sh
curl -fsSL http://oss.kelechen.cn/get-docker | bash -s docker --mirror Aliyun
mkdir -p /etc/docker
tee /etc/docker/daemon.json <<-'EOF'
{
  "registry-mirrors": ["https://xc5dlwum.mirror.aliyuncs.com"]
}
EOF
systemctl daemon-reload
systemctl restart docker
docker build -t uam-docker .
./update-uam.sh
